﻿using System.Web.UI.HtmlControls;

namespace JX.Enrollment.Web.ViewModel
{
    public class DialogBox: Messages
    {

        public static HtmlGenericControl Open(HtmlGenericControl ctrl)
        {
            ctrl.Attributes["style"] = "display: block;";
            ctrl.Attributes["class"] = "modal fade in";
            return ctrl;
        }

        public static HtmlGenericControl Close(HtmlGenericControl ctrl)
        {
            ctrl.Attributes["style"] = "display: none;";
            ctrl.Attributes["class"] = "modal fade out";
            return ctrl;
        }


    }
}